package InheritanceAndPolymorphism.demo06;

public class Dog extends Animal{
    @Override
    public void sing() {
        System.out.println("汪汪汪");
    }

    public void guard() {
        System.out.println("狗狗正在看家");
    }
}

